package tyk.service.Impl;

import tyk.dao.UserDao;
import tyk.service.UserService;

public class UserServiceImpl implements UserService {
//    通过xml配置bean对象，再依赖注入
//    不再通过new对象的方式实现，降低耦合度
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUserById() {
        userDao.getUserById();
    }
}
